package com.linzx.markdown.processer;

import com.linzx.markdown.entity.NoteDate;

import java.util.List;

/**
 * @author avicomlin
 * @Description:
 * @date 2021/1/18
 */
public class SourceNoteDataImpl implements SourceNoteData {

    private String fileName;
    private String topic;
    private List<NoteDate> data;

    public SourceNoteDataImpl(String fileName, String topic, List<NoteDate> data) {
        this.fileName = fileName;
        this.topic = topic;
        this.data = data;
    }

    @Override
    public String getFileName() {
        return fileName;
    }

    @Override
    public String getTopic() {
        return topic;
    }

    @Override
    public List<NoteDate> getData() {
        return data;
    }
}
